package com.link.base.base.guidepick.dao.mybatis.mapper;

import com.link.base.base.guidepick.model.*;

import java.util.List;

/**
 * 导购查询客户数据mapper
 *
 * @author 宋燕荣
 */
public interface GuidePickMapper {

    /**
     * 查询人员
     */
    public List<GuideEmployee> queryEmpListPage(GuideEmployee record) throws Exception;

    /**
     * 查询人员总数
     */
    public int queryEmpCountByExample(GuideEmployee record) throws Exception;

    /**
     * 查询客户列表
     *
     * @author song
     */
    public List<GuidePickAccount> queryAccountListPage(GuidePickAccount record) throws Exception;

    /**
     * 查询客户总数
     *
     * @author song
     */
    public int queryAccountCountByExample(GuidePickAccount record) throws Exception;

    /**
     * 查询商机列表
     *
     * @author song
     */
    public List<GuidePickOpty> queryOptyListPage(GuidePickOpty record) throws Exception;

    /**
     * 查询商机总数
     *
     * @author song
     */
    public int queryOptyCountByExample(GuidePickOpty record) throws Exception;

    /**
     * 查询客户地址列表
     *
     * @author song
     */
    public List<GuidePickReceiptAddr> queryaccntAddrListPage(GuidePickReceiptAddr record) throws Exception;

    /**
     * 查询客户地址总数
     *
     * @author song
     */
    public int queryaccntAddrCountByExample(GuidePickReceiptAddr record) throws Exception;

    /**
     * 查询组织
     *
     * @author ying
     */
    public List<GuidePickOrg> queryOrgList(GuidePickOrg record) throws Exception;
}
